import service from '@/utils/request'

// @Tags BcTemp
// @Summary 创建bcTemp表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.BcTemp true "创建bcTemp表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /bcTemp/createBcTemp [post]
export const createBcTemp = (data) => {
  return service({
    url: '/bcTemp/createBcTemp',
    method: 'post',
    data
  })
}

// @Tags BcTemp
// @Summary 删除bcTemp表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.BcTemp true "删除bcTemp表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /bcTemp/deleteBcTemp [delete]
export const deleteBcTemp = (data) => {
  return service({
    url: '/bcTemp/deleteBcTemp',
    method: 'delete',
    data
  })
}

// @Tags BcTemp
// @Summary 批量删除bcTemp表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除bcTemp表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /bcTemp/deleteBcTemp [delete]
export const deleteBcTempByIds = (data) => {
  return service({
    url: '/bcTemp/deleteBcTempByIds',
    method: 'delete',
    data
  })
}

// @Tags BcTemp
// @Summary 更新bcTemp表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.BcTemp true "更新bcTemp表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /bcTemp/updateBcTemp [put]
export const updateBcTemp = (data) => {
  return service({
    url: '/bcTemp/updateBcTemp',
    method: 'put',
    data
  })
}

// @Tags BcTemp
// @Summary 用id查询bcTemp表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.BcTemp true "用id查询bcTemp表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /bcTemp/findBcTemp [get]
export const findBcTemp = (params) => {
  return service({
    url: '/bcTemp/findBcTemp',
    method: 'get',
    params
  })
}

// @Tags BcTemp
// @Summary 分页获取bcTemp表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取bcTemp表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /bcTemp/getBcTempList [get]
export const getBcTempList = (params) => {
  return service({
    url: '/bcTemp/getBcTempList',
    method: 'get',
    params
  })
}
